/usr/bin/gdb -- /media/Environ/Compile/rocksndiamonds-4.1.3.0/rocksndiamonds    GNU gdb (Debian 8.2.1-2+b3) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /media/Environ/Compile/rocksndiamonds-4.1.3.0/rocksndiamonds...done.
(gdb) r
Starting program: /media/Environ/Compile/rocksndiamonds-4.1.3.0/rocksndiamonds 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe3981700 (LWP 15434)]
[New Thread 0x7fffe3940700 (LWP 15435)]
[New Thread 0x7fffe1a99700 (LWP 15436)]
rocksndiamonds: frame delay == 0 ms (maximum speed)
rocksndiamonds: frame delay == 29 ms (max. 34 fps / 68 %)
rocksndiamonds: frame delay == 0 ms (maximum speed)
rocksndiamonds: frame delay == 40 ms (max. 25 fps / 50 %)
rocksndiamonds: frame delay == 15 ms (max. 66 fps / 133 %)
rocksndiamonds: frame delay == 0 ms (maximum speed)
rocksndiamonds: frame delay == 15 ms (max. 66 fps / 133 %)
rocksndiamonds: frame delay == 0 ms (maximum speed)
free(): invalid pointer

Thread 1 "rocksndiamonds" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff78a1535 in __GI_abort () at abort.c:79
#2  0x00007ffff78f8508 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff7a0328d "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007ffff78fec1a in malloc_printerr (str=str@entry=0x7ffff7a0143b "free(): invalid pointer") at malloc.c:5341
#4  0x00007ffff790042c in _int_free (av=<optimized out>, p=<optimized out>, have_lock=<optimized out>) at malloc.c:4165
#5  0x0000555555712553 in checked_free (ptr=0x55555b3d5350) at misc.c:1275
#6  0x0000555555711550 in setString (old_value=0x555558608050 <tape+16>, new_value=0x55555c73af40 "rnd_jerome_kunegis") at misc.c:844
#7  0x00005555556eb9da in TapeErase () at tape.c:530
#8  0x0000555555686934 in GameEnd () at game.c:4773
#9  0x0000555555686832 in GameWon () at game.c:4720
#10 0x00005555556a6fd2 in GameActionsExt () at game.c:11369
#11 0x00005555556a769a in GameActions () at game.c:11623
#12 0x000055555567a3b5 in HandleGameActions () at screens.c:8274
#13 0x0000555555644c8a in EventLoop () at events.c:339
#14 0x00005555556381aa in main (argc=1, argv=0x7fffffffdb98) at main.c:7762
(gdb) # just finished level, no prompt came up to override save, even though there was a save
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /media/Environ/Compile/rocksndiamonds-4.1.3.0/rocksndiamonds 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe3981700 (LWP 19289)]
[New Thread 0x7fffe3940700 (LWP 19290)]
[New Thread 0x7fffe1a99700 (LWP 19291)]
[Thread 0x7fffe3940700 (LWP 19290) exited]
[Thread 0x7fffe3981700 (LWP 19289) exited]
[Thread 0x7fffe1a99700 (LWP 19291) exited]
[Inferior 1 (process 19286) exited normally]
(gdb) # Level highlighting did change to comepleted color, no high score saved, didn't increment to next level
(gdb) r
Starting program: /media/Environ/Compile/rocksndiamonds-4.1.3.0/rocksndiamonds 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe3981700 (LWP 19573)]
[New Thread 0x7fffe3940700 (LWP 19574)]
[New Thread 0x7fffe1a9a700 (LWP 19575)]
[Thread 0x7fffe3940700 (LWP 19574) exited]
[Thread 0x7fffe3981700 (LWP 19573) exited]
[Thread 0x7fffe1a9a700 (LWP 19575) exited]
[Inferior 1 (process 19572) exited normally]
(gdb) # tape was bad too
